package chapter04;

import java.util.Scanner;

public class Day12 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入积分：");
        int age = input.nextInt();
        if (age<2000 && age>=0){
            System.out.println("9折");
        }
        else if (age>=2000 && age<4000){
            System.out.println("8折");
        }
        else if (age>=4000 && age<8000){
            System.out.println("7折");
        }
        else if(age>=8000){
            System.out.println("6折");
        }
        else {
            System.out.println("输入有误");
        }
    }
}
